package com.ms.game.bank;

public enum BankMoneyChangeWay {

		// 增加金錢的行為, id 必須大於 0 =============================================
		ADD_TEST(1, "增加測試"),

		ADD_INVITE_FRIEND_COMMISSION(2, "邀請好友抽佣"),

		ADD_BANK_DEPOSIT(10, "存款"),
		
		ADD_MONTHLY_FEE_FIRST_PAY(20,"包月第一次當下配發"),
		
		ADD_MONTHLY_FEE_DAILY_PAY(21, "包月每日配發"),
		
		ADD_UPLINE_INVITE_REWARD(22,"上線邀請獎勵"),
		
		/**領取紅包 - 官方**/
		ADD_HONBO(30,"領取官方紅包"),
		
		/**領取紅包 - 玩家**/
		ADD_CUSTOM_HONBO(31,"領取玩家紅包"),
		
		/**紅包剩餘金額回收**/
		ADD_UNDRAW_HONBOMONEY(32,"紅包剩餘金額回收"),
		
		/** GMTOOL 增加C幣到保險箱*/
		ADD_FROM_GMTOOL(33,"GMTOOL加C幣到保險箱"),

		/** 百家樂得分*/
		ADD_BACARRAT_SCORE(34,"百家樂得分"),

		/** 百家樂活動連勝得分*/
		ADD_BACARRAT_ACTIVITY_COMBO_SCORE(35,"百家樂活動連勝得分"),
		
		ADD_WEEKLY_FEE_FIRST_PAY(36,"包週第一次當下配發"),
		
		ADD_WEEKLY_FEE_DAILY_PAY(37, "包週每日配發"),

		// 減少金錢的行為, id 必須小於 0 =============================================
		SUB_TEST(-1, "減少測試"),
		
		SUB_BANK_GET_CASH(-10, "提款"),
		
		SUB_FROM_GMTOOL(-33,"GMTOOL從保險箱扣除C幣");

		/**
		 * 代表數值
		 */
		private int id;

		/**
		 * 說明
		 */
		private String desc;

		/**
		 * @param id
		 *            代表數值
		 * @param desc
		 *            說明
		 */
		private BankMoneyChangeWay(int id, String desc) {
			this.id = id;
			this.desc = desc;
		}

		public int getId() {
			return id;
		}

		public void setId(int id) {
			this.id = id;
		}

		public String getDesc() {
//			return desc;
			return this.name();//20160518 改成回傳enum.name()
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}
}
